import 'package:dio/dio.dart';
class TokenInterceptor extends Interceptor{
  @override
  onRequest(RequestOptions options) {
    print("TokenInterceptor:options.connectTimeout=>${options.connectTimeout}");
    options.headers["token"]="123456";
    return super.onRequest(options);
  }
}